package com.example.quartz;

import com.baomidou.mybatisplus.extension.service.IService;
import org.quartz.Scheduler;

import java.util.Date;

/**
 * @author ccc
 */
public interface TJobService extends IService<TJob> {

    void createJob(TJob tJob) throws Exception;

    void removeJob(TJob tJob);

    void addJob(String jobName, Date startTime, String methodName, String parms) throws Exception;
}